home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update36.zoo / libg++ / mincl < prev   
Encoding:
Text File  |  1993-11-27  |  2.1 KB  |  72 lines

  1. #
  2. # common make include file for libg++-2.X
  3. #
  4. VPATH = libsrc:iosrc
  5.  
  6. %.o: %.cc
  7.     $(GXX) -c $(GXXFLAGS) $<
  8.  
  9. LIBSRC = builtin.cc chr.cc compare.cc delete.cc \
  10. dtoa.cc error.cc fmtq.cc gcd.cc hash.cc ioob.cc lg.cc \
  11. minmax.cc new.cc pow.cc regex.cc sqrt.cc str.cc timer.cc xacg.cc \
  12. xallocri.cc xbinomia.cc xbitset.cc xbitstri.cc xcomplex.cc \
  13. xdiscuni.cc xerlang.cc xfix.cc xfix16.cc xfix24.cc \
  14. xgeom.cc xgetopt.cc xhypgeom.cc xinteger.cc  xlognorm.cc xmlcg.cc \
  15. xnegexp.cc xnormal.cc xobstack.cc xpoisson.cc xrandom.cc xrationa.cc \
  16. xregex.cc xrndint.cc xrng.cc xsmplhis.cc xsmplsta.cc \
  17. xstring.cc xuniform.cc xweibull.cc xeh.cc xdllist.cc xsllist.cc  xintdbl.cc
  18.  
  19. IO_OBJECTS = filedoalloc.o floatconv.o genops.o fileops.o \
  20.   iovfprintf.o \
  21.   iovfscanf.o ioignore.o iopadn.o \
  22.   iofgetpos.o iofread.o iofscanf.o \
  23.   iofsetpos.o iogetline.o \
  24.   ioprintf.o ioseekoff.o ioseekpos.o \
  25.   outfloat.o stdfiles.o strops.o iofclose.o ioungetc.o
  26. #  outfloat.o stdfiles.o strops.o iofclose.o iopopen.o ioungetc.o
  27.  
  28. IOSTREAM_OBJECTS = builtinbuf.o filebuf.o fstream.o \
  29.   indstream.o isgetline.o isgetsb.o isscan.o ioextend.o iomanip.o iostream.o \
  30.   osform.o procbuf.o sbform.o sbgetline.o sbscan.o \
  31.   stdiostream.o stdstreams.o stream.o streambuf.o strstream.o \
  32.   PlotFile.o SFile.o parsestream.o pfstream.o editbuf.o
  33.  
  34. # These files define _IO_read etc, which are just wrappers for read(2) etc.
  35. # They need to be changed to use name-space-clean (e.g. __read) versions
  36. # for each specific libc.
  37. OSPRIM_OBJECTS = ioprims.o iostrerror.o cleanup.o
  38.  
  39. LIBIOSTREAM_OBJECTS = $(IO_OBJECTS) $(IOSTREAM_OBJECTS) $(OSPRIM_OBJECTS)
  40.  
  41. OBJ = ident.o $(LIBSRC:.cc=.o) $(LIBIOSTREAM_OBJECTS)
  42.  
  43. all: $(ALL)
  44. all020: $(ALL020)
  45.  
  46. $(LIBG++): $(OBJ)
  47.     rm -f $@
  48.     $(AR) rs $@ $^
  49.  
  50. $(LIBG++020): $(OBJ)
  51.     rm -f $@
  52.     $(AR) rs $@ $^
  53.  
  54. install: $(ALL)
  55.     cp $(ALL) $(GXXLIB)
  56.  
  57. install020: $(ALL020)
  58.     cp $(ALL020) $(GXXLIB)
  59.  
  60. clean :
  61.     rm -f $(OBJ)
  62.  
  63. realclean : clean
  64.     rm -f $(ALL) $(ALL020)
  65.  
  66. .PHONY: install install020 clean realclean all all020
  67.  
  68. # DO NOT DELETE THIS LINE -- g++dep uses it.
  69. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  70.  
  71. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  72.